<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="vcs" uri="http://vowconsultancy/vcstaglib"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Employer Login</title>
</head>
<body>
	<s:url action="registration" namespace="/client"
		var="registrationUrl" />

	<s:if test="#session.client == null">
		<%-- Login Form--%>

		<vcs:roundedCornerBoxTag bgcolor="yellow" fontColor="red"
			marginLeft="auto" marginRight="auto" width="250">
			<s:actionerror />
			<s:fielderror />
		</vcs:roundedCornerBoxTag>
		<vcs:roundedCornerBoxTag bgcolor="#3074B0" marginLeft="auto"
			marginRight="auto" width="250" fontColor="white">
			<s:form action="verify" method="post" namespace="/client"
				theme="simple">
				<table>
					<tr>
						<td>User Name</td>
						<td><s:textfield name="username" label="User Name"
								javascriptTooltip="Enter your user name here."
								cssStyle="width:150px;" />
						</td>
					</tr>
					<tr>
						<td>Password</td>
						<td><s:password name="password" label="Password"
								javascriptTooltip="Enter your password here"
								cssStyle="width:150px;" />
						</td>
					</tr>
					<tr>
						<td>&nbsp;</td>
						<td><s:submit value="Login" cssClass="submit-button" />
						</td>
					</tr>
				</table>
			</s:form>
			<table>
				<tr>
					<td><a href="${registrationUrl}" style="color: white">New
							Clients click here to register</a></td>
				</tr>
			</table>
		</vcs:roundedCornerBoxTag>
	</s:if>

</body>
</html>